package com.wanxi.product.mapper;

import com.wanxi.product.service.api.dto.TagDto;
import com.wanxi.product.service.api.entity.Tag;
import com.wanxi.product.service.api.query.admin.TagQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TagMapper {
    int add(Tag tagTag);

    TagDto findById(Long tagId);

    List<Tag> findAll(TagQuery tagQuery);

    int delete(Long tagId);
}
